<?php // $Id: play.php 11 2008-07-30 15:46:18Z the.sk89q $

/**
 * play.php - success message
 *
 * @version: $Id: play.php 11 2008-07-30 15:46:18Z the.sk89q $
 * @license http://www.gnu.org/copyleft/gpl.html
 * @package dpmatchreserve
 * 
 */


require_once "./common.php";

$smarty->assign('title', 'Server Now Leased');

// ===============================
// Get input
// ===============================

$server = $_GET['server'];
$password = $_GET['password'];
$login_password = $_GET['login'];

$server_info = @$CONFIG['servers'][$server];

// ===============================
// Send it off
// ===============================

$smarty->assign('server', $server);
$smarty->assign('server_name', $server_info['name']);
$smarty->assign('host', $server_info['host']);
$smarty->assign('port', $server_info['port']);
$smarty->assign('password', $password);
$smarty->assign('login_password', $login_password);
$smarty->assign('default_settings', $CONFIG['default_settings']);
$smarty->assign('user_settings', $CONFIG['user_settings']);

$smarty->display('play.tpl');
